HTML minifier
HTMLMinifier is made by kangax, using tweaked version of HTML parser by John Resig (which, in its turn, is based on work of Erik Arvidsson). Source and ...
html-minifier
HTMLMinifier is a highly configurable, well-tested, JavaScript-based HTML minifier. See corresponding blog post for all the gory details of how it works.
Minify JS CSS
This JS and CSS minifier removes whitespace, strips comments, combines files, and optimizes/shortens a few common programming patterns.
minify-html
There are three whitespace minification methods. When processing text content, minify-html chooses which ones to use depending on the containing element.
wilsonzlinminify-html
Extremely fast and smart HTML + JS + CSS minifier, available for Rust, Deno, Java, Node.js, Python, Ruby, and WASM - wilsonzlin/minify-html.